package com.fy.service.service;

import com.baomidou.mybatisplus.service.IService;
import com.fy.common.dto.GroupMemberRoleDto;
import com.fy.common.dto.MemberGroupInfoEditDto;
import com.fy.common.entity.SkImGroupMember;
import com.fy.common.vo.GroupMemberVo;
import com.fy.framework.common.model.R;

import java.util.List;

/**
 * @author zhshuo
 * @date 2021/12/17 18:28
 */
public interface SkImGroupMemberService extends IService<SkImGroupMember> {
    void memberGroupInfoEdit(MemberGroupInfoEditDto groupInfoEditDto);

    void quit(Long groupId);

    void kickOut(Long groupId, Long userId);

    R<?> memberRole(GroupMemberRoleDto memberRoleDto);

    void updateGroupMemberCount(Long groupId, int i);

    List<GroupMemberVo> groupMember(Long id);
}
